/**
 * @author jprieur
 *
 */
package mygui;

import java.util.*;

public class ResultObject
{
    public String _name;

    static enum Type 
    { 
	simulation, base_station, mobile_station, 
        obstacle, sensor_network, sink;
    }
    private Type _type;
    public Type getType() { return _type; }

    private String _uuid;
    public String getUUID() { return _uuid; }

    private ArrayList<ResultProbe> _probes;
    public ArrayList<ResultProbe> getProbes(){ return _probes; }
    
    private HashMap<String,String> _properties;
    public HashMap<String,String> getProperties(){ return _properties; }

    public ResultObject(Type type, String uuid)
    {
	_type = type;
	_uuid = uuid;
	_probes = new ArrayList<ResultProbe>();
	_properties = new HashMap<String,String>();
    }

    public void setName(String name){
	_name = name;
    }

    public String getName(){
	return _name;
    }

    public String toString(){
	return _name;
    }
}